# $Id$
#

AUTOMAKE_OPTIONS = foreign

AM_CFLAGS=-I$(top_srcdir)/include -I$(top_srcdir)/src
AM_CFLAGS+=`pkg-config --cflags glibmm-2.4`
AM_CFLAGS+=-fno-strict-aliasing -fPIC -std=c++0x

#AM_LDFLAGS=`pkg-config --libs glibmm-2.4`


pkglib_LTLIBRARIES = apriori.la

#apriori_la_SOURCES = ../../data/itemsets.cc apriori.cc ../../../src/interface.cc ../../../src/interface-algorithm.cc ../../../src/log.cc ../../data/indextransactions.cc ../../data/hashtree.cc

apriori_la_SOURCES=../../data/itemsets.cc
apriori_la_SOURCES+=apriori.cc
apriori_la_SOURCES+=../../../src/interface.cc
apriori_la_SOURCES+=../../../src/interface-algorithm.cc
apriori_la_SOURCES+=../../../src/log.cc
apriori_la_SOURCES+=../../data/indextransactions.cc
apriori_la_SOURCES+=../../data/hashtree.cc

apriori_la_LDFLAGS = -module  -no-undefined -avoid-version ${AM_LDFLAGS} ${AM_CFLAGS}

apriori_la_CPPFLAGS = ${AM_CFLAGS}

